package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.CustomerMainOriginal.rCustomerMain;

public class CustomerDetailActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    int type = getIntent().getIntExtra(CustomerDetailFragment.EXTRA_TYPE, 0);
    rCustomerMain customerDetail = (rCustomerMain) getIntent().getSerializableExtra(
        CustomerDetailFragment.EXTRA_CUSTOMER_DETAIL);
    return CustomerDetailFragment.newInstance(customerDetail, type);
  }
}
